# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=httpforge
pkgver=11.02.01
pkgrel=6
groups=('blackarch' 'blackarch-webapp' 'blackarch-scanner' 'blackarch-fuzzer'
        'blackarch-recon')
pkgdesc='A set of shell tools that let you manipulate, send, receive, and analyze HTTP messages. These tools can be used to test, discover, and assert the security of Web servers, apps, and sites. An accompanying Python library is available for extensions.'
arch=('any')
url='http://packetstormsecurity.com/files/98109/HTTPForge-11.02.01.html'
license=('custom:unknown')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://dl.packetstormsecurity.net/UNIX/utilities/$pkgname-$pkgver.tar.gz")
sha512sums=('beeb4eb20deb7e544c58c08580961385fbb6a4b93e69158017e621e5998b1b9c1f15db60a33170eba0e63a586ed22ad82187ed128db3b77d8f1271f107d13ec4')

package() {
  cd "$pkgname-$pkgver"

  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize 1

  install -Dm 644 PKG-INFO "$pkgdir/usr/share/doc/$pkgname/PKG-INFO"
}

